<%@ tag language="java" pageEncoding="utf-8"%>
<%@ tag trimDirectiveWhitespaces="true" %>
<%@ attribute name="url" required="false"  %>
<%@ attribute name="action" required="false"  %>

<%@ tag import="java.util.List" %>
<%@ tag import="com.opensymphony.xwork2.ActionContext" %>
<%@ tag import="com.opensymphony.xwork2.util.ValueStack" %>
<%
	String contextpath = request.getContextPath();
	out.print(contextpath);
	if (this.url != null) {
		out.print(this.url);
	} else if (this.action != null) {
		String exts=org.apache.struts2.config.DefaultSettings.get("struts.action.extension");
		String ext=exts.split(",")[0];
		out.print(this.action+"."+ext);
	}
%>